package exception;

public class FinallyDemo {
    public static void main(String[] args) {
        System.out.println("10");
        try {
            String line = "";
            System.out.println(line.length());
        }catch (Exception e){
            System.out.println("20");
        }finally {
            System.out.println("30");
        }

        System.out.println("40");
    }
}
